//
//  MoneyDetailModel.m
//  CarCare
//
//  Created by ileo on 15/1/8.
//  Copyright (c) 2015年 baozun. All rights reserved.
//

#import "MoneyDetailModel.h"

@implementation MoneyDetailModel

-(NSString *)imageStr{
    if (!_imageStr) {
        NSInteger type = self.TYPE;
        if (type == 22 || type == 23 || type == 24 || type == 25) {
            type = 21;
        }
        _imageStr = [NSString stringWithFormat:@"money_%zd",type];
    }
    return _imageStr;
}

-(NSString *)showTime{
    if (!_showTime) {
        _showTime = [self.REWARD_TIME substringFromIndex:5];
    }
    return _showTime;
}

@end
